package com.education.platform.api.service.impl;

import com.education.platform.dao.entity.ReceiptAddressDO;
import org.springframework.beans.factory.annotation.Autowired;
import com.education.platform.common.service.impl.BaseServiceImpl;
import com.education.platform.dao.ReceiptAddressDao;
import org.springframework.stereotype.Service;
import com.education.platform.api.service.ReceiptAddressService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
* describe: 收货地址
* @author : tomato
* @date: 2020-06-06 02:55:53.083
**/
@Service
public class ReceiptAddressServiceImpl extends BaseServiceImpl<ReceiptAddressDao, ReceiptAddressDO> implements ReceiptAddressService {

	private static final Logger LOGGER = LoggerFactory.getLogger(ReceiptAddressServiceImpl.class);

    @Autowired
	private ReceiptAddressDao receiptAddressDao;


    @Override
    public ReceiptAddressDO getByUserId(Integer userId) {
        return receiptAddressDao.getByUserId(userId);
    }
}
